WooCommerce\Square\Framework\PaymentGateway\Payment_Gateway_Plugin D

Total Complexity 133
Dependencies 9
Dependents 7
Total lines 1,206
Lines of code 440
Logical lines of code 201
Comment lines 493
Methods 51
Properties 11

Methods 51

Method Rating Maintainability Complexity Lines of code
add_ssl_admin_notices()
A
46 12 39
add_integration_requires_tokenization_notices()
A
47 11 39
add_currency_admin_notices()
A
46 8 40
add_debug_setting_notices()
S
54 7 21
adjust_available_gateways()
S
62 6 11
subscriptions_maybe_edit_renewal_support_status()
S
57 5 16
is_payment_gateway_configuration_page()
S
70 6 5
maybe_init_my_payment_methods()
S
66 6 8
includes()
S
48 3 36
tokenization_enabled()
S
67 5 8
get_gateway()
S
59 4 14
__construct()
S
55 2 20
maybe_init_apple_pay()
S
70 3 6
is_plugin_settings()
S
67 3 8
get_settings_url()
S
68 3 7
add_system_status_information()
S
65 3 9
supports_apple_pay()
S
66 3 9
get_gateway_from_token()
S
67 3 8
add_hooks()
S
62 2 11
is_pre_orders_active()
S
71 2 6
add_delayed_admin_notices()
S
65 2 10
is_subscriptions_active()
S
71 2 6
get_gateway_class_names()
S
67 2 8
subscriptions_add_renewal_support_status_inline_style()
S
73 2 5
get_gateways()
S
67 2 8
get_accepted_currencies()
S
82 1 3
get_gateway_class_name()
S
75 1 4
set_gateway()
S
79 1 3
add_api_request_logging()
S
98 1 1
has_gateway()
S
79 1 3
get_gateway_ids()
S
76 1 4
get_payment_gateway_framework_file()
S
82 1 3
get_payment_gateway_framework_path()
S
79 1 3
get_payment_gateway_framework_assets_path()
S
80 1 3
get_privacy_instance()
S
82 1 3
add_gateway()
S
71 1 6
get_payment_gateway_configuration_url()
S
79 1 3
requires_ssl()
S
82 1 3
get_gateway_settings()
S
80 1 3
get_gateway_settings_name()
S
80 1 3
get_admin_user_handler()
S
82 1 3
get_admin_order_handler()
S
82 1 3
supports()
S
79 1 3
supports_capture_charge()
S
80 1 3
get_apple_pay_instance()
S
82 1 3
build_apple_pay_instance()
S
79 1 3
supports_my_payment_methods()
S
80 1 3
get_my_payment_methods_instance()
S
80 1 3
load_gateways()
S
79 1 3
init_admin()
S
76 1 4
get_payment_gateway_framework_assets_url()
S
79 1 3